From: Florian Müllner Date: Wed, 21 May 2025 12:03:58 +0000 (+0200) Subject: Revert "environment: Add Meta.Rectangle compatibility" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~93 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3ec6d539919cc2696aaaeab5f7bcddfa7eb8cb98;p=gnome-shell.git Revert "environment: Add Meta.Rectangle compatibility" Meta.Rectangle has been gone since GNOME 46, so there was enough time for extensions to adjust. This reverts commit f1317f07db8da49ad921473c5ccc9b31719b3aee. Part-of: --- diff --git a/js/ui/environment.js b/js/ui/environment.js index 8f833d677..77f09bf10 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -11,7 +11,6 @@ import Gio from 'gi://Gio'; import GLib from 'gi://GLib'; import GObject from 'gi://GObject'; import Meta from 'gi://Meta'; -import Mtk from 'gi://Mtk'; import Polkit from 'gi://Polkit'; import Shell from 'gi://Shell'; import St from 'gi://St'; @@ -321,11 +320,6 @@ Clutter.Actor.prototype.toString = function () { return St.describe_actor(this); }; -Meta.Rectangle = function (params = {}) { - console.warn('Meta.Rectangle is deprecated, use Mtk.Rectangle instead'); - return new Mtk.Rectangle(params); -}; - Gio.File.prototype.touch_async = function (callback) { Shell.util_touch_file_async(this, callback); };